Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow more product endpoint names to be valid #1530

Merged

Conversation

csordasmarton
Copy link
Contributor

Product endpoint names can be started with digits or underscores.

@whisperity
Copy link
Contributor

Do you want to allow ______ and 0000000 and such? Because this regex not only allows starting one with such characters but also only containing such characters.

@csordasmarton
Copy link
Contributor Author

@whisperity I think the admin of the CodeChecker server should decide it to create such a product or not.

Product endpoint names can be started with digits or underscores.
@csordasmarton csordasmarton force-pushed the fix-valid-product-endpoint-names branch from d45caa1 to fc4d6b8 Compare April 19, 2018 08:54
@gyorb
Copy link
Contributor

gyorb commented May 2, 2018

@whisperity yes those product names do not look great but we should not limit the user. The main problem with the current regex is that the product name can not start with a number.

@gyorb gyorb merged commit a86d84f into Ericsson:master May 2, 2018
@csordasmarton csordasmarton deleted the fix-valid-product-endpoint-names branch May 3, 2018 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants